package com.huawei.boss.statemachine;

public class Transition
{
    private Event event;
    private State from;
    private State to;

    public Event getEvent()
    {
        return event;
    }

    public State getFrom()
    {
        return from;
    }

    public State getTo()
    {
        return to;
    }

    public Transition(Event event, State from, State to)
    {
        this.event = event;
        this.from = from;
        this.to = to;
    }
}
